package org.jeecg.modules.reserve.service.impl;

import org.jeecg.modules.reserve.entity.SdxcReservePlaceRecord;
import org.jeecg.modules.reserve.mapper.SdxcReservePlaceRecordMapper;
import org.jeecg.modules.reserve.service.ISdxcReservePlaceRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;



/**
 * @Description: 场地预约记录
 * @Author: jeecg-boot
 * @Date:   2020-09-17
 * @Version: V1.0
 */
@Service
public class SdxcReservePlaceRecordServiceImpl extends ServiceImpl<SdxcReservePlaceRecordMapper, SdxcReservePlaceRecord> implements ISdxcReservePlaceRecordService {
    @Autowired
    private SdxcReservePlaceRecordMapper placeRecordMapper;
    /**
     * 获取场地当日预约记录
     *
     * @param placeId 场地id
     * @param date 日期
     * @return
     */
    @Override
    public List<SdxcReservePlaceRecord> queryRecordDetail(String placeId, String date) {
        return placeRecordMapper.queryRecordDetail(placeId, date);
    }
}
